package com.zhxymm.book.dao;

import com.zhxymm.book.entity.Borrow;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface BorrowRepository extends CrudRepository<Borrow,Long> {

    @Override
    public List<Borrow> findAll();

    Borrow findByBookId(long theId);
}